package cn.wonderland.community.service.impl;

import cn.wonderland.community.domain.House;
import cn.wonderland.community.mapper.HouseMapper;
import cn.wonderland.community.service.IHouseService;
import cn.wonderland.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 房屋表 服务实现类
 * </p>
 *
 * @author wonderland
 * @since 2023-05-04
 */
@Service
public class HouseServiceImpl extends BaseServiceImpl<House> implements IHouseService {
    @Autowired
    private HouseMapper houseMapper;

    @Override
    public List<House> findHouseByUnitId(Long id) {
        return houseMapper.findHouseByUnitId(id);
    }
}
